package com.eshop.print;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class PrintStoreOrderVO implements Serializable
{
    @ApiModelProperty("开始时间")
    private String startTime;
    @ApiModelProperty("结束时间")
    private String endTime;
    @ApiModelProperty("打印机编号")
    private String driverNo;
    @ApiModelProperty("门店列表")
    private Integer storeId;
    @ApiModelProperty(hidden = true)
    Long startSecond;
    @ApiModelProperty(hidden = true)
    Long endSecond;
    
    public static PrintStoreOrderVOBuilder builder() {
        return new PrintStoreOrderVOBuilder();
    }
    
    public String getStartTime() {
        return this.startTime;
    }
    
    public String getEndTime() {
        return this.endTime;
    }
    
    public String getDriverNo() {
        return this.driverNo;
    }
    
    public Integer getStoreId() {
        return this.storeId;
    }
    
    public Long getStartSecond() {
        return this.startSecond;
    }
    
    public Long getEndSecond() {
        return this.endSecond;
    }
    
    public void setStartTime(final String startTime) {
        this.startTime = startTime;
    }
    
    public void setEndTime(final String endTime) {
        this.endTime = endTime;
    }
    
    public void setDriverNo(final String driverNo) {
        this.driverNo = driverNo;
    }
    
    public void setStoreId(final Integer storeId) {
        this.storeId = storeId;
    }
    
    public void setStartSecond(final Long startSecond) {
        this.startSecond = startSecond;
    }
    
    public void setEndSecond(final Long endSecond) {
        this.endSecond = endSecond;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PrintStoreOrderVO)) {
            return false;
        }
        final PrintStoreOrderVO other = (PrintStoreOrderVO)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$storeId = this.getStoreId();
        final Object other$storeId = other.getStoreId();
        Label_0065: {
            if (this$storeId == null) {
                if (other$storeId == null) {
                    break Label_0065;
                }
            }
            else if (this$storeId.equals(other$storeId)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$startSecond = this.getStartSecond();
        final Object other$startSecond = other.getStartSecond();
        Label_0102: {
            if (this$startSecond == null) {
                if (other$startSecond == null) {
                    break Label_0102;
                }
            }
            else if (this$startSecond.equals(other$startSecond)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$endSecond = this.getEndSecond();
        final Object other$endSecond = other.getEndSecond();
        Label_0139: {
            if (this$endSecond == null) {
                if (other$endSecond == null) {
                    break Label_0139;
                }
            }
            else if (this$endSecond.equals(other$endSecond)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$startTime = this.getStartTime();
        final Object other$startTime = other.getStartTime();
        Label_0176: {
            if (this$startTime == null) {
                if (other$startTime == null) {
                    break Label_0176;
                }
            }
            else if (this$startTime.equals(other$startTime)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$endTime = this.getEndTime();
        final Object other$endTime = other.getEndTime();
        Label_0213: {
            if (this$endTime == null) {
                if (other$endTime == null) {
                    break Label_0213;
                }
            }
            else if (this$endTime.equals(other$endTime)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$driverNo = this.getDriverNo();
        final Object other$driverNo = other.getDriverNo();
        if (this$driverNo == null) {
            if (other$driverNo == null) {
                return true;
            }
        }
        else if (this$driverNo.equals(other$driverNo)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof PrintStoreOrderVO;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $storeId = this.getStoreId();
        result = result * 59 + (($storeId == null) ? 43 : $storeId.hashCode());
        final Object $startSecond = this.getStartSecond();
        result = result * 59 + (($startSecond == null) ? 43 : $startSecond.hashCode());
        final Object $endSecond = this.getEndSecond();
        result = result * 59 + (($endSecond == null) ? 43 : $endSecond.hashCode());
        final Object $startTime = this.getStartTime();
        result = result * 59 + (($startTime == null) ? 43 : $startTime.hashCode());
        final Object $endTime = this.getEndTime();
        result = result * 59 + (($endTime == null) ? 43 : $endTime.hashCode());
        final Object $driverNo = this.getDriverNo();
        result = result * 59 + (($driverNo == null) ? 43 : $driverNo.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "PrintStoreOrderVO(startTime=" + this.getStartTime() + ", endTime=" + this.getEndTime() + ", driverNo=" + this.getDriverNo() + ", storeId=" + this.getStoreId() + ", startSecond=" + this.getStartSecond() + ", endSecond=" + this.getEndSecond() + ")";
    }
    
    public PrintStoreOrderVO() {
    }
    
    public PrintStoreOrderVO(final String startTime, final String endTime, final String driverNo, final Integer storeId, final Long startSecond, final Long endSecond) {
        this.startTime = startTime;
        this.endTime = endTime;
        this.driverNo = driverNo;
        this.storeId = storeId;
        this.startSecond = startSecond;
        this.endSecond = endSecond;
    }
    
    public static class PrintStoreOrderVOBuilder
    {
        private String startTime;
        private String endTime;
        private String driverNo;
        private Integer storeId;
        private Long startSecond;
        private Long endSecond;
        
        PrintStoreOrderVOBuilder() {
        }
        
        public PrintStoreOrderVOBuilder startTime(final String startTime) {
            this.startTime = startTime;
            return this;
        }
        
        public PrintStoreOrderVOBuilder endTime(final String endTime) {
            this.endTime = endTime;
            return this;
        }
        
        public PrintStoreOrderVOBuilder driverNo(final String driverNo) {
            this.driverNo = driverNo;
            return this;
        }
        
        public PrintStoreOrderVOBuilder storeId(final Integer storeId) {
            this.storeId = storeId;
            return this;
        }
        
        public PrintStoreOrderVOBuilder startSecond(final Long startSecond) {
            this.startSecond = startSecond;
            return this;
        }
        
        public PrintStoreOrderVOBuilder endSecond(final Long endSecond) {
            this.endSecond = endSecond;
            return this;
        }
        
        public PrintStoreOrderVO build() {
            return new PrintStoreOrderVO(this.startTime, this.endTime, this.driverNo, this.storeId, this.startSecond, this.endSecond);
        }
        
        @Override
        public String toString() {
            return "PrintStoreOrderVO.PrintStoreOrderVOBuilder(startTime=" + this.startTime + ", endTime=" + this.endTime + ", driverNo=" + this.driverNo + ", storeId=" + this.storeId + ", startSecond=" + this.startSecond + ", endSecond=" + this.endSecond + ")";
        }
    }
}
